package com.yugao.fintech.antelope.auth.model.rqrs.ldp;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * 外部身份源模板
 *

 */
@Getter
@Setter
public class ExtLdpBase {
    @ApiModelProperty(value = "编码, 唯一")
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String code;

    @ApiModelProperty(value = "类型, social(社会)/enterprise(企业)")
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String type;

    @ApiModelProperty(value = "名称")
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String name;

    @ApiModelProperty(value = "图标")
    private String logo;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "备注")
    private String remark;
}
